package com.googlecode.horncomb.bean.id.generator;

import java.io.Serializable;

/**
 * Id 生成器
 * @author Daniel
 */
public interface IdGenerator<IdType extends Serializable> {
	@SuppressWarnings("unchecked")
	boolean support(Class type);

	IdType generateId(Object object);
}
